package org.kzwl.comm.pojo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class SaveCuWebCommentsBO {

    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty("用户ID")
    private Integer cuUserId;

    @NotEmpty(message = "评论内容不能为空")
    @ApiModelProperty("评论内容")
    private String cuCommentsCenter;//评论内容

    @NotNull(message = "评论目标不能为空")
    @ApiModelProperty("评论目标ID")
    private Integer cuExt1; //评论目标ID
}
